package top.korori.entity.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

@ApiModel("登录参数")
@Setter
@Getter
public class LoginBo {

    @NotEmpty(message = "账号不能为空")
    @ApiModelProperty("用户名或邮箱手机")
    private String account;

    @ApiModelProperty("密码")
    private String password;

}
